package com.driving.code.utils;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @Author molie
 * @since 2022-02-10
 * 当前类的描述信息：
 */
public class MyUsernamePasswordToken extends UsernamePasswordToken {

    private String loginRole;

    public MyUsernamePasswordToken(String username,String password,String loginRole){
        super(username,password);
        this.loginRole = loginRole;
    }

    public String getLoginRole() {
        return loginRole;
    }

    public void setLoginRole(String loginRole) {
        this.loginRole = loginRole;
    }
}
